﻿using System.ComponentModel;
using System.Windows;

namespace DenisVuyka.Controls.PropertyGrid
{
  public class FontWeightConverterDecorator : FontConverterDecorator
  {
    public FontWeightConverterDecorator() : base(new FontWeightConverter()) { }

    public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
    {
      return new StandardValuesCollection(
        new FontWeight[] 
        { 
          FontWeights.Thin, 
          FontWeights.ExtraLight, 
          FontWeights.Light, 
          FontWeights.Normal, 
          FontWeights.Medium, 
          FontWeights.SemiBold, 
          FontWeights.Bold, 
          FontWeights.ExtraBold, 
          FontWeights.Black, 
          FontWeights.ExtraBlack });
    }
  }
}
